﻿using System;
using Communergy.Common.Events;

namespace Communergy.Common
{
    public delegate void DataExportHandler (object sender, DataExporterEventArgs args);
    public interface IDataExportCommand
    {
        event DataExportHandler DataExportEvent;
        IRepositoryFactory LocalCacheRepository { get; set; }
        void ExportData();
        TimeSpan ExportInterval { get; set; }
    }
}
